x86/HVM: properly handle RTC periodic timer even when !RTC_PIE
authorJan Beulich <jbeulich@suse.com>
Tue, 21 May 2013 08:14:21 +0000 (10:14 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 21 May 2013 08:14:21 +0000 (10:14 +0200)
commit9607327abbd3e77bde6cc7b5327f3efd781fc06e
treef9ddd0de1b5149cc22717a62e3649ef42c1a449b
parentf3347f520cb4d8aa4566182b013c6758d80cbe88
x86/HVM: properly handle RTC periodic timer even when !RTC_PIE

Since in that case the processing it pt_intr_post() won't occur, we
need to do some additional work in pt_update_irq(). Additionally we
must not pay attention to the respective IRQ being masked.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Roger Pau Monné <roger.pau@citrix.com> (FreeBSD guest)
xen/arch/x86/hvm/rtc.c
xen/arch/x86/hvm/vpt.c
xen/include/asm-x86/hvm/vpt.h